package com.ttdev.mmms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

/**
 * 分店实体类
 * 杨培朔
 *2019年11月29日19:55:19
 */
@Data
@AllArgsConstructor
@ToString
@TableName("subbranch_info")
public class Subbranch {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;//分店id
    @TableField(value = "headquarter_id")
    private Long headquarterId;//总店id
    @TableField(value = "manager_id")
    private Integer managerId; //分店店长id
    @TableField(value = "store_name")
    private String storeName;// 分店名称
    @TableField(value = "name")
    private String name;//用户名
    @TableField(value = "password")
    private String password;//密码
}